.org 0xE2E90 ; Fill Meter Quicker

Fill_Meter_Quicker:

	LDR 	R1, [Fill_Meter_1]
	LDR 	R0, [Fill_Meter_2]
	LDR 	R2, [R1, 0]
	LDR 	R1, [R0, 0]
	MOV 	R0, 0x98
	ADD 	R1, R2, R1, LSL 2
	LDR 	R1, [R1, 0x48]
	MUL 	R6, R9, R0
	ADD 	R0, R1, 0x5000
	LDR 	R0, [R0, 0xA58]
	
	MOV 	R1, Rank_Star_Power					; Rank: Star Power
	
	ADD 	R0, R0, R6
	ADD 	R0, R0, 0x74
	ADD 	R0, R0, R8, LSL 4
	
	BL 		Check_Skills_Equipped				; Check the Skill is equipped
	CMP 	R0, 0								; Does CO use that skill?
	
	BEQ 	Not_Using_Star_Power				
	
	MOV 	R0, 110								; If CO use skill, fill power meter +10%
	
	MUL 	R0, R7, R0
	
	MOV 	R1, 100
	
	BL 		Fill_Meter_Sub
	MOV 	R7, R0
	
Not_Using_Star_Power:

	; Type rest of long code

;-------------------------------------------------------------------------------	

.org 0xE2FAC	

Fill_Meter_1:
	.dw Reg1_Skill
	
Fill_Meter_2:
	.dw Reg2_Skill

;-------------------------------------------------------------------------------	

.org 0x2FA4
Fill_Meter_Sub:

